package org.cg.componente;

public class Limites implements IComponente {
	
	private int xMin, xMax, yMin, yMax;
	
	public Limites(int n) {
		xMin = 0;
		xMax = n-1;
		yMin = 0;
		yMax = n-1;
	}
	
	public int getxMin() {
		return xMin;
	}

	public void setxMin(int xMin) {
		this.xMin = xMin;
	}

	public int getxMax() {
		return xMax;
	}

	public void setxMax(int xMax) {
		this.xMax = xMax;
	}

	public int getyMin() {
		return yMin;
	}

	public void setyMin(int yMin) {
		this.yMin = yMin;
	}

	public int getyMax() {
		return yMax;
	}

	public void setyMax(int yMax) {
		this.yMax = yMax;
	}
}
